home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 December / CHIPNET Aralık 1997.iso / linux / redhat / misc / src / init / makefile < prev   
Makefile  |  1997-08-11  |  178b  |  14 lines

  1. VERSION = 1.1
  2.  
  3. CFLAGS = -Wall -O2 -DVERSION=\"$(VERSION)\"
  4. LDFLAGS = -static
  5.  
  6. static: init.o
  7.     gcc $(LDFLAGS) -o init $<
  8.     strip init
  9.  
  10. dynamic: init.o
  11.     gcc -o init $<
  12.     strip init
  13.  
  14.